Name :Shift left

Symbol :SHL

Illustrate:

    Move the input parameter 1 "IN" to the left and the input parameter 2 "N" bit, and add 0 to the rightmost bit, and assign the result to the output parameter OUT. 

Image:

Parameter:

Parameter Statement Type Description
IN Input BOOL/BYTE/WORD/DWORD
First input value (operand)
N Input UINT
Second input value (number of left shifts)
OUT Output BOOL/BYTE/WORD/DWORD
Output value

Example:

LD:

ST:



Interpretation:

parameter operandvalue
INTagIn18
NTagIn22
OUTTagOut32
	IN and N input the corresponding types of data, and SHL outputs the left-shift result.